﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 考核四
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_MouseMove(object sender, MouseEventArgs e)
        {
            this.toolTip1.SetToolTip(this, e.X + "\t" + e.Y);
            toolStripStatusLabel1.Text = e.X.ToString();
            toolStripStatusLabel2.Text = e.Y.ToString();
        }
    }
}
